From 141f758c5ce1eba8b1fabdb681c24349bf4d9d09 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 27 Mar 2019 02:18:36 -0400 Subject: [PATCH] Migration guide: Updates --- docs/reference/gtk/migrating-3to4.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml index 3a25b76ead..3e9ef096d6 100644 --- a/docs/reference/gtk/migrating-3to4.xml +++ b/docs/reference/gtk/migrating-3to4.xml @@ -289,6 +289,25 @@ +
+ Stop using gdk_pointer_warp() + + Warping the pointer is disorienting and unfriendly to users. + GTK 4 does not support it. + +
+ +
+ Adapt to coordinate api changes + + A number of coordinate apis in GTK 3 had _double variants: + gdk_device_get_position(), gdk_device_get_surface_at_position(), + gdk_surface_get_device_position(). These have been changed to use + doubles, and the _double variants have been removed. Update your + code accordingly. + +
+
Adapt to GdkKeymap API changes -- 2.30.2